package ai.people.netmon.framework.domain.system.request;

import com.people.core.validator.group.UpdateGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 系统菜单添加参数
 *
 * @author yuanqinglong
 * @date 2022/4/11 11:50
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class NmSystemMenuUpdateParam extends NmSystemMenuAllParam{

    /**
     * 菜单id
     * @mock 1
     */
    @NotNull(groups = {UpdateGroup.class}, message = "菜单id不可为空")
    private Long id;
}
